package com.hhss.qishi.DPtest.designpattern.factory.pizza;

/**
 * 披萨超类
 */
public abstract class Pizza {

    String name;

    public abstract void prepare();

    /**
     * 烘烤
     */
    public void bake() {
        System.out.println("bakeing");
    }

    public void cut(){
        System.out.println("cutting");
    }

    public void box(){
        System.out.println("boxxing");
    }
}
